// 导入登录接口方法
import {
  login
} from '@/api/Login.js'
import {
  getMenus
} from '@/api/Home.js'
import {
  getUsers,
  changeUserState,
  addUser,
  editUser,
  delUser,
} from '@/api/User.js'
import {
  getRights,delRightById,getRightsTree
} from '@/api/Right.js'
import {
  getRoles,setRoleRight
} from '@/api/Roles.js'
// 按需导出登录接口方法
export const loginAPI = login
export const getMenusAPI = getMenus
export const getUsersAPI = getUsers
export const changeUserStateAPI = changeUserState
export const addUserAPI = addUser
export const editUserAPI = editUser
export const delUserAPI = delUser
export const getRightsAPI = getRights
export const getRolesAPI = getRoles
export const delRightByIdAPI = delRightById
export const getRightsTreeAPI = getRightsTree
export const setRoleRightAPI = setRoleRight
